package com.onesports.intelligent.k12.polarlight.domain.dto.market;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 课程订单
 *
 * @author
 * @since 1.0.0 2022-07-08
 */
@Data
@ApiModel(value = "课程订单")
public class OrdersDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "$column.comments")
    private String id;

    @ApiModelProperty(value = "机构ID")
    private String organizationId;

    @ApiModelProperty(value = "校区ID")
    private String campusId;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "商品ID")
    private String productId;

    @ApiModelProperty(value = "关联课程ID")
    private String courseId;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "实付金额")
    private BigDecimal actuallyAmount;

    @ApiModelProperty(value = "订单状态 1-待付款;2-已付款;3-退款中;4-已退款;5-已取消")
    private String orderStatus;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "下单时间")
    private Date orderTime;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "支付人ID")
    private String payer;

    @ApiModelProperty(value = "支付类型(1:微信支付，2：线下支付，3：余额)")
    private String payType;

    @ApiModelProperty(value = "课表详情ID")
    private String scheduleDetailId;

    @ApiModelProperty(value = "团长id")
    private String headId;

    @ApiModelProperty(value = "教练id")
    private String coachId;

    @ApiModelProperty(value = "是否已结算")
    private Boolean settlemented;

    @ApiModelProperty(value = "学员ID")
    private String studentId;

    @ApiModelProperty(value = "班级ID")
    private String classId;


}
